package sd.rmi.simple.client;

import sd.rmi.simple.interfaces.IServerObject;


public class ClientServiceFactory {
	private static ClientServiceFactory instance = null;
	
	private ClientServiceFactory () {
		super ();
	}
	
	public static synchronized ClientServiceFactory getInstance() {
		return (instance == null) ? new ClientServiceFactory()
					: instance;
	}
	
	
	public IServerObject getService() {
		return new ClientProxy("127.0.0.1", "hello");
	}
}
